﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Enterprise.Contract;
using Enterprise.Implement;

namespace Enterprise.Factorys
{
    /// <summary>
    /// 取得 Enterprise.Bll.Contract 中一些接口的实例对象
    /// </summary>
    public static class GetBllImplement
    {
        /// <summary>
        /// 获取文章类信息
        /// </summary>
        /// <returns></returns>
        public static INews GetNews()
        {
            return new ImplNews();
        }
        /// <summary>
        /// 获取管理员权限信息
        /// </summary>
        /// <returns></returns>
        public static IAdmin_Roles GetAdminRoles()
        {
            return new ImplAdmin_Roles();
        }
        /// <summary>
        /// 获取管理员信息
        /// </summary>
        /// <returns></returns>
        public static IAdmin_Tb GetAdminTb()
        {
            return new ImplAdmin_Tb();
        }
        /// <summary>
        /// 获取文章类型
        /// </summary>
        /// <returns></returns>
        public static IArticleType GetArticleType()
        {
            return new ImplArticleType();
        }
    }
}